<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试报告</title>
    <!--    页面样式-->
    <style type="text/css">
        .main {
            height: 300px;
        }

        /*汇总信息样式*/
        .summary {
            width: 90%;
            position: absolute;
            margin-left: 5%;
        }

        .title {
            width: auto;
            height: 60px;
            text-align: center;
            font: bolder 38px/60px "Microsoft YaHei UI";
            color: #02992c;
            margin-bottom: 50px;
        }

        .text-left {
            text-align: left;
            font: bolder 20px/30px "Microsoft YaHei UI";
            color: #02992c;
            margin-bottom: 20px;
        }

        td, th {
            border: solid 1px rgba(133, 137, 140, 0.76);
            height: 50px;
            width: 200px;
        }

        td {
            color: #02992c;
            padding-left: 5%;
        }
        th {
            color: #00a10a;

        }
    </style>

</head>
<body>
<div class="main">
    <!--汇总信息-->
    <div class="summary">
        <div class="text-left">【项目 ${PROJECT_NAME}】 用例执行汇总信息如下：</div>
        <table width=60% border="1" cellpadding="0" cellspacing="0" bordercolor="#FF0000"
               style="border-collapse:collapse;">
            <tr>
                <th>测试人员</th>
                <td>wzq</td>
                <th>用例总数</th>
                <td><span>${TEST_COUNTS,var="total"}</span></td>
            </tr>
            <tr>
                <th>构建编号</th>
                <td><span>${BUILD_NUMBER}</span></td>
                <th style="color: #cc8b0c">成功用例</th>
                <td style="color: #cc8b0c">${TEST_COUNTS,var="pass"}</td>
            </tr>
            <tr>
                <th>构建结果</th>
                <td><span>${BUILD_STATUS}</span></td>
                <th style="color: #cc0109">失败用例</th>
                <td><span style="color: #cc0109">${TEST_COUNTS,var="fail"}</span></td>
            </tr>
            <tr>
                <th>构建地址</th>
                <td><span>${BUILD_URL}</span></td>
                <th style="color: #575a5c">跳过用例</th>
                <td><span style="color: #575a5c">${TEST_COUNTS,var="skip"}</span></td>
            </tr>
             <tr>
                <th>allure测试报告查看地址</th>
                <td colspan="3"><span>${PROJECT_URL}/allure/</span></td>
            </tr>

        </table>
    </div>

</div>


</body>
</html>